runtime.mheap.sweepPagesPerByte (field)
9 uses
runtime (current package)
mgc.go#L1687: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L178: print("pacer: sweep done at heap size ", live>>20, "MB; allocated ", (live-mheap_.sweepHeapLiveBasis)>>20, "MB during sweep; swept ", mheap_.pagesSwept.Load(), " pages at ", mheap_.sweepPagesPerByte, " pages/byte\n")
mgcsweep.go#L911: if mheap_.sweepPagesPerByte == 0 {
mgcsweep.go#L946: pagesTarget := int64(mheap_.sweepPagesPerByte*float64(newHeapLive)) - int64(callerSweepPages)
mgcsweep.go#L949: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L984: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L1005: mheap_.sweepPagesPerByte = 0
mgcsweep.go#L1007: mheap_.sweepPagesPerByte = float64(sweepDistancePages) / float64(heapDistance)
mheap.go#L107: sweepPagesPerByte float64 // proportional sweep ratio; written with lock, read without
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |